package com.xanthreal.gvalid;

import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import javax.validation.Payload;

@Target({ PARAMETER, ANNOTATION_TYPE, METHOD })
@Retention(RUNTIME)
@Documented
public @interface Validated {

	Class<?>[] groups() default {};

	Class<? extends Payload>[] payload() default {};
}
